-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Vertical transverse isotropic (VTI) solvers: Improve current one ("Fletcher" + add density) + Add other solver ("Zhang") #2816
base: develop
Are you sure you want to change the base?
Conversation
947e381
to
eceb3d1
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2816 +/- ##
===========================================
+ Coverage 53.69% 54.26% +0.56%
===========================================
Files 1010 1008 -2
Lines 85663 85841 +178
===========================================
+ Hits 45998 46581 +583
+ Misses 39665 39260 -405 ☔ View full report in Codecov by Sentry. |
6e21000
to
b05396c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General comments: do not hesitate to take a look at the last PR of refactoring #3074
I think, from what I saw I did not forget things on my comments but in case of do not hesitate to take aloo, this PR is only for folder organisation but the nex file organization should not move
src/coreComponents/physicsSolvers/wavePropagation/AcousticVTIFletcherWaveEquationSEMKernel.hpp
Outdated
Show resolved
Hide resolved
src/coreComponents/physicsSolvers/wavePropagation/AcousticVTIFields.hpp
Outdated
Show resolved
Hide resolved
d20f164
to
6f5f292
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except the two quick comments I add, everything looks good to me !
m_receiverCoordinates.freeOnDevice(); | ||
facesToNodes.freeOnDevice(); | ||
nodesToElements.freeOnDevice(); | ||
/* baseMesh.getNodeManager().localToGlobalMap().freeOnDevice(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can reactivate the freeOnDevice as we fix the bug (you can take a look to the isotropic acoustic to see which line you need to pkeep)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, done.
@@ -346,19 +382,19 @@ void AcousticVTIWaveEquationSEM::precomputeSurfaceFieldIndicator( DomainPartitio | |||
ArrayOfArraysView< localIndex const > const faceToNodeMap = faceManager.nodeList().toViewConst(); | |||
|
|||
/// array of indicators: 1 if a face is on on lateral surface; 0 otherwise | |||
arrayView1d< localIndex > const lateralSurfaceFaceIndicator = faceManager.getField< acousticvtifields::LateralSurfaceFaceIndicator >(); | |||
arrayView1d< localIndex > const lateralSurfaceFaceIndicator = faceManager.getField< fields::acousticvtifields::AcousticLateralSurfaceFaceIndicator >(); | |||
/// array of indicators: 1 if a node is on on lateral surface; 0 otherwise |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure that you need fields::acoust... only the acousticvtifields should be enough
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, done.
…omputeGradPhiBGradzF for Q1.
…ance degradation.
A new solver for VTI that takes into account the density have been added. The previous one has been rename "Fletcher" and has now density for input too:
AcousticVTIFletcherWaveEquationsSEM
andAcousticVTIZhangWaveEquationsSEM
AcousticVTIWaveEquationsSEM
and all related filesdocs/AcousticVTIWaveSEM.rst
)